<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" class="no-js">
<head th:include="admin/index::manage_head">

</head>

<body>
<div class="navbar navbar-fixed-top" th:include="admin/index::manage_title"></div>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span2" id="sidebar" th:include="admin/index::manage_sidebar"></div>

        <!--内容-->
        <div class="span10" id="content" >
            <div class="row-fluid">
                <div class="span12">
                    <!-- block -->
                    <div class="block">
                        <div class="navbar navbar-inner block-header">
                            <div class="muted pull-left">博客管理</div>
                            <div class="pull-right"><span class="badge badge-info">17</span>

                            </div>
                        </div>
                        <div class="block-content collapse in">
                            <link th:href="@{/assets/honeySwitch.css}" rel="stylesheet"/>
                            <table class="table table-striped">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>文章标题</th>
                                    <th>发表人</th>
                                    <th>发布时间</th>
                                    <th>浏览量</th>
                                    <th>文章状态</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                    <tr th:each="article:${articleList}">
                                        <td th:text="${article.aid}">1</td>
                                        <td th:text="${article.title}"><a th:href="@{''}"></a></td>
                                        <td th:text="${article.authorName}">Otto</td>
                                        <td th:text="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd')}">Otto</td>
                                        <td th:text="${article.viewcount}">Otto</td>
                                        <td><span  class="switch-off" style="" themeColor="#7CFC00"></span></td>
                                        <td>
                                            <button class="btn btn-info">编辑</button>
                                            <button class="btn btn-alert">删除</button>
                                            <button class="btn btn-warning">发布</button>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <!-- /block -->
                </div>
            </div>
        </div>
    </div>
    <hr>
    <footer th:include="admin/index::manage_footer">
    </footer>
</div>

<!--/.fluid-container-->
<div th:include="admin/index::manage_script"></div>
<script th:src="@{/assets/honeySwitch.js}"></script>
<script>

</script>
</body>

</html>